import 'package:app/router/router_handlers.dart';
import 'package:fluro/fluro.dart';

class Routes {
  static void configureRoutes(FluroRouter router) {
    //空页面
    router.notFoundHandler = emptyHandler;
    // 根页面
    router.define("/", handler: rootHandler);
    // RouterPageA
    router.define("/routerA", handler: routerAHandler);
    // RouterPageB
    router.define("/routerB", handler: routerBHandler);
    // IconPage
    router.define("/icon", handler: iconPageHandler);
  }
}
